<template>
  <div class="hello">
    <HomePage></HomePage>
  </div>
</template>
<script>
  import HomePage from '../components/Home/Home.vue'
  // var obj = {
  //   local : {
  //     start:{
  //       line : 1,
  //       column : 5,
  //     },
  //   }
  // };
  // let {local:x,local:{start:y},local:{start:{line:z,column:a}}} = obj;

  let name = 'abc';
  let toArray = ((cc) => (obj) => Array.prototype.slice.apply(cc.concat(obj)))('66');
  let toIt = (function(cc){
    return function(obj){
      return Array.prototype.slice.apply(cc.concat(obj));
    }
  })('66');
  console.log(toIt(name));
  console.log(toArray(name));

  const arr = "231";
  let arr_1 = Array.from(arr);
  arr_1.sort((a,b)=> a-b);
  // console.log(arr_1.map((x)=>Number.parseInt(x)));

  let typeofthat = function(){
    return Array.from(arguments,(value)=> typeof value);
  };
  
  // console.log(typeofthat(null,[],NaN));
  export default {
  data () { 
    return {
    }
  },
  components:{
    HomePage,
  }

}
</script>
<style type="text/css">
</style>
